package org.cresource.pet.service;

import org.cresource.basic.service.IBaseService;
import org.cresource.pet.domain.Pet;
import org.cresource.pet.domain.PetDetail;

import java.util.Map;

public interface IPetService extends IBaseService<Pet> {

    void onoroffsale(Map<String,Object> map);

    PetDetail getDetailByPetId(Long petId);

    void adopt(Long petId, Long id);
}
